package user;

public class Teacher extends User {

    public Teacher(String name, char sex, int age, String id, String password, String phoneNum) {
        super(name, sex, age, id, password, phoneNum);
    }

    @Override
    public String toString() {
        return getName() +
                "\t" + getId() +
                "\t" + getSex() +
                "\t" + getAge() +
                "\t" + getPassword() +
                "\t" + getPhoneNum();
    }
}
